package top.ninwoo.utils.entity;

/**
 * @Author joliu
 * @Description
 * @Date　Create in 下午9:51 2019/11/4
 */
public class NetworkInfo {
    private String containerId;
    private float curRate;
    private float errorRate;
    private float dropRate;

    public String getContainerId() {
        return containerId;
    }

    public void setContainerId(String containerId) {
        this.containerId = containerId;
    }

    public float getCurRate() {
        return curRate;
    }

    public void setCurRate(float curRate) {
        this.curRate = curRate;
    }

    public float getErrorRate() {
        return errorRate;
    }

    public void setErrorRate(float errorRate) {
        this.errorRate = errorRate;
    }

    public float getDropRate() {
        return dropRate;
    }

    public void setDropRate(float dropRate) {
        this.dropRate = dropRate;
    }

    @Override
    public String toString() {
        return "NetworkInfo{" +
                "curRate=" + curRate +
                "%, errorRate=" + errorRate +
                "%, dropRate=" + dropRate +
                "%}";
    }
}
